package com.huadi.bili_hot.dao.mapper;

import com.huadi.bili_hot.entity.TimeAndView;
import org.apache.ibatis.annotations.Select;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TimeAndViewMapper {
    @Select("SELECT * FROM `timeandview` order by putime asc;")
    List<TimeAndView> selectAll();
}
